import QtQuick 1.0

Item {
    id: root
    width: 360
    height: 60
    property string text: "Menu Item"
    property bool line: true

    Text {
        id: label
        anchors.left: parent.left
        anchors.leftMargin: 12
        anchors.verticalCenter: parent.verticalCenter
        text: parent.text
        font.pixelSize: 18
    }

    Rectangle {
        anchors.bottom: parent.bottom
        anchors.left: parent.left
        anchors.right: parent.right
        anchors.leftMargin: 8
        anchors.rightMargin: 8
        width: 360; height: 1
        color: "#666666"
        visible: parent.line
    }
}
